/**
 * 系统项目名称
 * com.duk.dao
 * Dept.java
 * 
 *  2017年1月7日-下午9:55:05
 *  2017SUN公司-版权所有
 *
 */
package com.duk.model;

/** 
* @author  by: kasher
* @date 创建时间：2017年1月7日 下午9:55:05 
* @version 1.0 * @parameter  
* @since  
* @return  
*/
/**
 *
 * Dept by:kasher 2017年1月7日 下午9:55:05 我乃压身第一人
 * 
 * @version 1.0.0
 *
 */
public class Dept
{
	// deptID,deptName,empID,digest
	private Integer deptID;
	private String deptName;
	private String deptURI;
	private String digest;
	private Byte sortOrder;
	private Integer isShow;

	/**
	 * 创建一个新的实例 Dept.
	 *
	 */
	public Dept()
	{
		// TODO Auto-generated constructor stub
	}

	public String getDeptURI()
	{
		return deptURI;
	}

	public void setDeptURI(String deptURI)
	{
		this.deptURI = deptURI;
	}

	public Byte getSortOrder()
	{
		return sortOrder;
	}

	public void setSortOrder(Byte sortOrder)
	{
		this.sortOrder = sortOrder;
	}

	public Integer getIsShow()
	{
		return isShow;
	}

	public void setIsShow(Integer isShow)
	{
		this.isShow = isShow;
	}

	public Integer getDeptID()
	{
		return deptID;
	}

	public void setDeptID(Integer deptID)
	{
		this.deptID = deptID;
	}

	public String getDeptName()
	{
		return deptName;
	}

	public void setDeptName(String deptName)
	{
		this.deptName = deptName;
	}

	public String getDigest()
	{
		return digest;
	}

	public void setDigest(String digest)
	{
		this.digest = digest;
	}

	@Override
	public int hashCode()
	{
		final int prime = 31;
		int result = 1;
		result = prime * result + ((deptID == null) ? 0 : deptID.hashCode());
		result = prime * result + ((deptName == null) ? 0 : deptName.hashCode());
		result = prime * result + ((digest == null) ? 0 : digest.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj)
	{
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Dept other = (Dept) obj;
		if (deptID == null)
		{
			if (other.deptID != null)
				return false;
		} else if (!deptID.equals(other.deptID))
			return false;
		if (deptName == null)
		{
			if (other.deptName != null)
				return false;
		} else if (!deptName.equals(other.deptName))
			return false;
		if (digest == null)
		{
			if (other.digest != null)
				return false;
		} else if (!digest.equals(other.digest))
			return false;
		return true;
	}

}
